package com.kingdee.pda.plugins.http.common;

/**
 *
 * Created by zhanlg
 * DATE 2018/3/13
 * TIME 15:30
 */

public abstract class OnRequestCallback<T> {

    /**
     * 失败回调
     * @param isRequestCallback 是否为请求失败
     * @param errorMsg 错误提醒信息
     */
    public void onFailedCallback(boolean isRequestCallback, String errorMsg) {

    }

    /**
     * 成功回调
     * @param result
     */
    public void onSuccessCallback(T result, Object object) {

    }

}
